﻿<%@ Page EnableViewState="false" Title="" Language="C#" MasterPageFile="~/MasterPages/Site.Master" AutoEventWireup="true" CodeBehind="ListNewsByTag.aspx.cs" Inherits="GUI.Pages.News.ListNewsByTag" %>

<%@ OutputCache VaryByParam="*" Duration="180" %>
<%@ Register TagPrefix="uc" TagName="HighlightNews" Src="~/Controls/News/HighlightNewsAtListPage.ascx" %>
<%@ Register TagPrefix="uc" TagName="ListNews" Src="~/Controls/News/ListNewsByTag.ascx" %>

<%@ Register TagPrefix="uc" TagName="Paging" Src="~/Controls/Shared/Paging.ascx" %>
<%@ Register TagPrefix="uc" TagName="LatestNews" Src="~/Controls/News/LatestNews.ascx" %>
<%@ Register TagPrefix="uc" TagName="GoogleSnippet" Src="~/Controls/Shared/GoogleSnippet.ascx" %>
<%@ Register TagPrefix="adv" TagName="TopDefault" Src="~/Controls/Advertising/TopDefault.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMainContent" runat="server">
    <script type="text/javascript">
        (function (d, s, id) {
            var js, fjs = d.getElementsByTagName(s)[0];
            if (d.getElementById(id)) return;
            js = d.createElement(s); js.id = id;
            js.src = "//connect.facebook.net/vi_VN/all.js#xfbml=1&appId=150439901816779";
            fjs.parentNode.insertBefore(js, fjs);
        }(document, 'script', 'facebook-jssdk'));
    </script>
    <uc:GoogleSnippet ID="ctrGoogleSnippet" runat="server" />
    <adv:TopDefault ID="TopDefault1" runat="server" />
    <div class="mgt15 clearfix">
        <div class="clearfix">
            <div class="w660 fl">
                <div class="sub-news1">
                    <h1 class="title-luongsukien">
                        <asp:Literal ID="ltrTagName" runat="server"></asp:Literal>
                    </h1>
                    <div class="clearfix mgt15">
                        <uc:HighlightNews runat="server" ID="ctrHighlightNews" />
                    </div>
                    <div class="clearfix  mgt15">
                        <div class="clearfix">

                            <div class="fb-like" data-href="<%=DetailedUrl %>" data-width="450" data-layout="box_count" data-show-faces="false" data-send="false">
                            </div>
                            <div style="display: inline-block; width: 50px;">
                                <div class="g-plusone" data-size="tall" data-annotation="bubble" recommendations="false">
                                </div>
                            </div>
                            <br/>
                            
                            <a href="https://twitter.com/share" class="twitter-share-button" data-url="https://dev.twitter.com/pages/tweet_button" data-via="your_screen_name" data-lang="en" data-related="anywhereTheJavascriptAPI" data-count="vertical">Tweet</a>
                            <script>!function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (!d.getElementById(id)) { js = d.createElement(s); js.id = id; js.src = "https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); } }(document, "script", "twitter-wjs");</script>

<a class="" name="zm_share" type="icnbig" title="Chia sẻ lên Zing Me"></a>
<script src="http://stc.ugc.zdn.vn/link/js/lwb.0.7.js" type="text/javascript"></script>

                            <a class="fl" href="http://www.facebook.com/sharer.php?u=<%=DetailedUrl %>" target="_blank">
                                <img src="http://soha4.vcmedia.vn/Images/share_fb.png" /></a>
                            <div class="mrk-LH-embed-holder fl linkhay">
                            </div>
                        </div>

                        <div class="hidden fr w520">


                            <%--<p><b style="text-transform: uppercase;">Kết bạn với <a style="color: #4682b4" href="http://www.facebook.com/SohaNews?ref=hl">Soha trên Facebook</a> để cập nhật tin mới nhất</b></p>--%>
                            <a class="fackbookavatar sprite" href="http://www.facebook.com/SohaNews?ref=hl" title="Kết bạn với Soha trên Facebook" target="_blank" rel="nofollow" style="padding: 0px 3px 0 5px; float: left; width: 66px;"></a>
                            <div class="fb-like" data-href="http://www.facebook.com/SohaNews?ref=hl" data-send="false" data-width="440" data-show-faces="true">
                            </div>

                        </div>
                    </div>
                    <div class="clearfix mgt15 w660">
                        <uc:ListNews ID="ctrListNews" runat="server" />
                    </div>
                    <div class="paging clearfix">
                        <uc:Paging ID="ctrPaging" runat="server" />
                    </div>
                </div>
            </div>
            <div class="w300 fr">
                <div class="mgt20 clearfix" id="divTagInfo" runat="server">
                    <asp:Literal runat="server" ID="ltrTagAvatar"></asp:Literal>
                    <div class="clearfix mgt10">
                        <asp:Literal runat="server" ID="ltrTagBody"></asp:Literal>
                    </div>
                </div>
                <div class="mgt20 clearfix">
                    <iframe src="//www.facebook.com/plugins/likebox.php?href=http://www.facebook.com/SohaNews?ref=hl&amp;width=301&amp;height=258&amp;show_faces=true&amp;colorscheme=light&amp;stream=false&amp;border_color&amp;header=false" scrolling="no" frameborder="0" style="border: none; overflow: hidden; width: 301px; height: 258px;" allowtransparency="true"></iframe>
                </div>
                <div class="mgt20 clearfix" id="divLatestNews" runat="server">
                    <uc:LatestNews ID="ctrLatestNews" Top="10" runat="server" />
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        $(".w300.fr .mgt20:first").removeClass("mgt20");
        $("h1").html("<span>" + $("h1").text() + "</span>");

        //begin: linkhay button
        if (typeof LHClass_Link_Post_Embed == 'undefined') {
            if (typeof LH_Link_Post_Embed_Loader == 'undefined') {
                var LH_Link_Post_Embed_Loader = document.createElement('script');

                LH_Link_Post_Embed_Loader.type = 'text/javascript';
                LH_Link_Post_Embed_Loader.src = 'http://linkhay2.vcmedia.vn/live/js/link/post/adapter/embed/main.js';

                document.getElementsByTagName('head')[0].appendChild(LH_Link_Post_Embed_Loader);
            }
        } else {
            LH_Link_Post_Embed_Scan();
        }
        //end: linkhay button

        //G+
        window.___gcfg = { lang: 'vi' };

        (function () {
            var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
            po.src = 'https://apis.google.com/js/plusone.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
        })();
    </script>
</asp:Content>
